package com.ruipeng.shengyapo.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

public interface LockService {
	int lock(String key);
	
	List<Map<String,Object>> closeLock(Map<String,Object> params);
	
	public Map<String,Object> getRecentOrderByIMEI(Map<String, Object> params);
	
	public Map<String,Object> getRecentOrderIsSetEndPath(Map<String, Object> params);
	
	public int setRecentOrderEndPath(Map<String, Object> params);
	
	public int updateBikeLocation(Map<String, Object> params);

	int updateBikeState(Map<String,Object> params);
}
